<?php
/**
 * 考勤用户表
 */
class model_attendance_position extends gdl_components_basemodel
{
    public function primarykey()
    {
        return 'id';
    }

    public function tableName()
    {
        return 'atdc_position';
    }
	public function getAllPosition(){
		return $this->select(['isdelete'=>0], 'id,groupId,title')->items;
	}
    
}
